    <script type="text/javascript">
function onAdd(strV){
    var o=document.getElementById("orderNum");
    var o_orgPrice=document.getElementById("orgPrice");
    var o_price=document.getElementById("memberPrice");
    var o_save=document.getElementById("savePrice");
    var o_total=document.getElementById("totalMoney");
    if(strV=="-"){
        if(parseInt(o.value)>1){
            o.value=parseInt(o.value)-1;
            
        }
    }else if(strV=="+"){
        o.value=parseInt(o.value)+1;
    }
    o_save.innerHTML=String((parseFloat(o_orgPrice.innerHTML)-parseFloat(o_price.innerHTML))*parseFloat(o.value));
    o_total.innerHTML=String(parseFloat(o_price.innerHTML)*parseFloat(o.value));
    document.getElementById("hftNum").value=o.value;
}

    </script>
<div class="twidth">
  <div id="position"><a href="/index.aspx">首页</a>&nbsp;&gt;&nbsp;<a href="<?php echo site_url('/ticket');?>">温泉门票</a>&nbsp;&gt;&nbsp;门票预订确认</div>
  <div id="middle" class="clear">
    <div class="conL">
      <div class="mbox">
        <div class="titcon"><em class="png">门票预订确认</em></div>
        <div class="cont">
          <table width="100%" border="1" style="text-align:center; border-collapse:collapse">
            <tbody><tr>
              <th>票种</th>
              <th>门市价</th>
              <th>现售价</th>
              <th>节省</th>
              <th>预订数量</th>
              <th>统计</th>
            </tr>
            
            <tr>
              <td>成人票</td>
              <td><span id="orgPrice"><?php echo $TicketInfo["info"][0]->otherPrice;?></span></td>
              <td><span id="memberPrice"><?php echo $TicketInfo["info"][0]->pricePer;?></span></td>
              <td><span id="savePrice"><?php echo $TicketInfo["info"][0]->otherPrice-$TicketInfo["info"][0]->pricePer;?></span></td>
              <td><input type="button" value="-" onclick="javascript:onAdd('-')">
                <span style="width:50px;">
                <input id="orderNum" type="text" value="<?php echo $ordernum;?>">
                </span>
                <input type="button" value="+" onclick="javascript:onAdd('+')"></td>
              <td><span id="totalMoney"><?php echo $TicketInfo["info"][0]->pricePer*$ordernum;?></span></td>
            </tr>
            
          </tbody></table>
          <form id="myform" name="myform" method="post" action="<?php echo site_url('/ticket/orderSave');?>">
            <input id="pricePer" name="pricePer" type="hidden" value="<?php echo $TicketInfo["info"][0]->pricePer;?>">
            <input id="orderNum" name="orderNum" type="hidden" value="<?php echo $ordernum;?>">
            <input id="tid" name="tid" type="hidden" value="<?php echo $id;?>">
            <div class="simple">
              <dl>
                <dt>游玩日期：</dt>
                <dd>
                  <input id="departureDate" name="departureDate" type="text" onfocus="WdatePicker({doubleCalendar:true,skin:'whyGreen'})" class="Wdate">
                </dd>
              </dl>
              <dl>
                <dt>联系人姓名：</dt>
                <dd>
                  <input id="RealName" name="RealName" type="text">
                </dd>
              </dl>
              <dl>
                <dt>联系人手机号：</dt>
                <dd>
                  <input id="phone" name="phone" type="text">
                </dd>
              </dl>
              <dl>
                <dt>固定电话：</dt>
                <dd>
                  <input id="Tel" name="Tel" type="text">
                </dd>
              </dl>
              <dl>
                <dt>QQ：</dt>
                <dd>
                  <input id="qqNum" name="qqNum" type="text">
                </dd>
              </dl>
			  <dl>
                <dt>Email：</dt>
                <dd>
                  <input id="Email" name="Email" type="text">
                </dd>
              </dl>
              <dl>
                <dt>备注：</dt>
                <dd>
                  <textarea id="Remark" name="Remark" style=" width:500px; height:90px;"></textarea>
                </dd>
              </dl>
              <dl>
                <dt>&nbsp;</dt>
                <dd>
                  <input id="btnSend" type="submit" value="提交" name="btnSend" class="btn_r">
                  &nbsp;
                  <input id="cbNoMember" name="cbNoMember" type="checkbox" value="-1">
                  游客</dd>
              </dl>
            </div>
          </form>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
    </div>
    <div class="conR"> 
      <!--最新预订-->
      <div class="lbox">
        <div class="titcon"> <em>最新预订</em> </div>
        <div class="cont">
		<ul class="picsum clear"> 
				<?php foreach($LastTicketOrder["list"] as $item){
						$pics="";$links="";
						if(!empty($LastTicketOrder['arr'][$item->tid])){
							$pics=$this->platform->file_url($LastTicketOrder['arr'][$item->tid][0]->folder.'/'.$LastTicketOrder['arr'][$item->tid][0]->name.'.'.$LastTicketOrder['arr'][$item->tid][0]->type);
						}
						$links=site_url()."/ticket/show/".$item->tid;			
						if(!$pics){$pics="img/nopic.jpg";}
						$timediff=(int)((time()-$item->create_time)/(3600*24));	//预定时间减当前时间
						$timeType="天前";
						if($timediff==0){
							$timediff=(int)((time()-$item->create_time)/(3600));
							$timeType="小时前";
							if($timediff==0){
								$timediff="刚刚";
								$timeType="";						
							}
							
						}
				?>				
				<li><img height="64" src="<?php echo $pics;?>" width="94"><p>用户：匿名<br><?php echo $timediff.$timeType;?>预订了:<br><a class="bulk" href="<?php echo $links;?>"><?php echo $item->ticketTitle?></a></p></li><br>
				<?php }?> 
		
		</ul></div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
      <!--/最新预订--> 
    </div>
  </div>
  
  <dl id="footguide">
<dt>旅游网站</dt>
<dd><li>价格实惠<br>支付方便</li>
<li>强强联手<br>优质服务</li>
<li>全球品牌<br>安全保证</li>
<li>全天客服<br>实时在线</li>
<li>流程简单<br>操作方便</li></dd>
</dl>
</div>
<div id="footer">
  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>
  <div class="copy"><p>
	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br>
	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br>
	Copyright ? XXXX公司 &nbsp; ICP备000000号</p></div>
</div>
<div id="bodybg"></div>
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('img,.png');
</script>
<![endif]-->



</body></html>